﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using Sahit.iSoilHotel.Domain.MainBoundedContext.Tavern.Aggregates.AuthenticationAgg;

namespace Sahit.iSoilHotel.Infrastructure.DataAccess.MainBoundedContext.Tavern.Mapping.Accounts
{
    public partial class AccountRoleMap : EntityTypeConfiguration<AccountRole>
    {
        public AccountRoleMap()
        {
            this.ToTable("AccountRole");
            this.HasKey(c => c.ID);
            this.Property(u => u.Name).HasMaxLength(50);
        }
    }
}
